updated the names of the functions