Renamed function to reflect change of purpose from previous commit