Working version!
Removed dontoptimize and added dontnote