validations added to models