rest of chapter 5 exercises