added example in documentation