Updated example code

Corrected small error in example code.
Merge pull request #5 from kongondo/dev

Updated example code