adding switch statement for providerName