got set_var() working