add comments to the changes made in schedules_controller.rb