added docstrings
more docstrings