Anagram overwriting