fix code example
Merge pull request #7 from davidchambers/master

fix code example