docstring refined