added delayed scheduling to eventscheduler, slightly unoptimal solution