added get_schedule