adding field validations