finished chap_06