prints endpoint and more docstrings