updated the names of the funciton