new methods to manage the scheduler