validation class ideas