edit fucntion

changed the name of the function