change evnets to schedule