merge reqvars branch