make validator private