add provider and registry