implemented validations for model aggregate