Needed to fix up some example

Here are my proposed changes to the example. Please feel free to discuss.