added example in doc