model validations added