flow control homework