refactored to make preparePitchersArray and makePitchersArray functions obsolete