refactor double metaphone class 4