Finished chap7