set validations