Renamed variables for easier understanding