Worked on chapter 3.2