changes in DAGBuilder