removed validatorInterface class