added feature to add multiple providers