working on scheduling control