chap 6 & 7 exercises