added validator as a requirement