Sample code as we progress through the book