started writing provenance stuff