rm top-level is_anagram method