change the translation functon