new file:   scheduler_final.c