changed vif to a global var