add chapter 4 examples