Renamed one function for clarity