added small example to the class docstring