match + compare