added new method to allow schedulers to be added using an event