Added Optimal code so it should run.... just not correctly due to optimal not working.