added metadata_source and metadata_source=