More optimization notes