added some simple docstrings