Changed all add_var calls to mod_var