revise the name of function