finished chapter 1 of functional started chapter 2