add some examples from chapter 10