Chap 3 exercises