updated docstring in example