updated the name of the function