added validator with resources