added flow control sample