getMatches works