updated docstrings to align with pep8 conventions