scheduler wrapper