added pydoc to methods