give the provider argument a default value of nil