Implementing the scheduling subsystem