refactor example
Merge pull request #1 from ZogStriP/master

refactor example