end of chapter 3 exercises