optimizations oh my