add gen_status to sched