move docstrings to where they should be