Chap 6 exercises