minute optimizations