add validation class, added more descriptive logs