Do exercises for chapter 8