added validator