addvars almost working