optimization notes