use private methods in validator init