scheduler.c and .h