add example

closes #6