Added made some changes to chapter 3