Renamed function correctly