Sample code for Damian's blog.