prepared architecture for generated Validator