improved comments in 'optimize' section