Renamed function and added some clarity.