added O3 optimizations