Add GetProviderName function as variable