renamed all grouping variables in DisplayPoolSchedule to 'g'