improving docstring example