Do exercises for chapter 6