fix sample code
Merge pull request #7 from cordoval/patch-2

fix sample code