Finish chapter 4 of the tutorial