better docstring