docstrings in more functions