added lookup of provider name

resolves #2