creating a provider method.

This is the only one that can be injected to the config method