created schedule and scheduleType