Refactor the code ):
Scheduler & event.