some functions translation