This is code from the book

Making sure our code is up to date with the book.