added docstrings for todo.py