add validations to models