Integrating validation class