Renamed function to _function