add example - closes gh-6