working on modifying scheduling_optimization