misplaced docstrings fixed