working on the translation code