exercise added to control flow