Finished chapter 3 and chapter 4