flow control examples