revised examples for chapter 9