Made example more like the book.