added correct docstrings