added some documentation for the class