Fix example code
Merge pull request #1 from ehd/patch-1

Fix example code