Finished stuff in chapter 2.