added validator and required it successfully