gave translation functions