translating function