trimmed down NamedDAG
trimmed down NamedDAG