correction on class docstring
added full usage exampe