red_vars to vars