udpated the way validations are written out, no funcitonal change