Finishes exercises for chapter 7