stuck on Scheduler design.