adding second example to chapter 9