Chapter 7 some exercises