added getMatches