changed docstring accordingly