My chapter 4 exercises