working on scheduling_optimization modification