updated files to call the translating function