added docs to the class