added initial scheduler.c