added comments to three classes