fixing chap06