the optimization is closed . this is the base version of final
project.