switch to docstrings