updated docstring