Renamed function name to more accurately describe what it does