updated example in docstring