changed ::anagram function to ::matcher