added example to documentation