Dianne, Argh, I didn't pay notice that I had defined sched_func 2 times in different files! After naming both functions differently, everything is good now. Sorry for the whole trouble..... l0f4r0