new set.match feature and tests for that