last exercises for chapter 6