Renamed 2 functions for readability