exercises from chap 3