some work on the create_schedule method