Changed name of function to correct one