added sched on C