updated pydoc comments