added reason field to sched.h