Fixed sample code
Merge pull request #120 from raphox/master

Fixed sample code