update github examples to match the working code
Merge pull request #71 from hybernaut/master

update github examples to match the working code