Added an example in documentation