scheduler API