renaming the function to its correct name