add attempt to optimize, more writeup