names of some functions and variables are changed