Finished chap6