added some more scheduler APIs