client optimizations