modified sched.h