design optimizations