some more exercises for chapter 3