optmization with object reference in provenance DONE