explain manual validator defining