added validator spec