refactored matchlist as a function to properly handle deltah throughout class