fuzzyMatch function is working correctly