flow control optimized