added docstrings
added docstrings