fix typos and add example
Merge pull request #1 from maxogden/master

fix typos and add example