adding docstring to base class