base on anagrams.