Chap 7 exercises