added a few docstrings