added metadatafields and Provider