exercise in chap4