ready to code optimization