added comments to class file