added scheduling API