more control optimizations