Chapter 6 excercises