add validation class