Finished chap9