worked on Validation class