scheduler refactoring introduced in pyPandora