adding chapter 8 examples