better example
documented the example