Renaming functions to fix careless mistake