add chapter 2 examples