added docstrings
updated docstrings and generated documentation