Add example using params. Fixes #6
Merge pull request #7 from jdutil/patch-2

Add example using params. Fixes #6