Chap 5 exercises