adding pydoc and TODO comments