-refactored to check if provenance causes PDS fails