Finished chapter 4.7