translation refactoring