add(example): extract and improve example in documentation