style optimizations