changed output of anagrams