getting rid of the provider