refactoring Translator