Updated chapter 10 examples