Working on chapter 2 and 9