refactor request provenance