changed schedule.erb and looped iteration