added comments to Validator