validations in vendor 3