more consistent flow control examples