added veriables in validator