Update example to work with current code
Merge branch 'master' into example
Merge pull request #149 from Robert-Nelson/example

Update example to work with current code