Renamed variables and functions to be more descriptive