finished flow control exercises