Example code for the book