initial optimizer code compiles and works, with examples