improved docstring.