Chapter 5 finished and compiled