added comments to class