added functions to Translator