added vendor validations and model