Changed the name of the function for less confusion