added translate feature