completed docstring