last exercises for chapter 4