added INIT_SCHEDULE_ENTRY macro