retreiving metadata from provider