type error in example code
Merge pull request #20 from danicuki/master

type error in example code