cleaned up some of the optimization section, as well as the cases section