Rewrote sched_list