reconfigured schedule.rb to be consistent with original requirements