added example to docs