rename getWords to findMatches