removing redundant validatorResult class