working on example in doc