Example code to go with blog post TODO