new lines added/docstrings fixed