add validations for models