added final docstrings - Grant