working on graph merge.