optimization.h - comments changed