changed the name of function to be more distinct from another function