revising scheduler