added validator plugin