added dag diagrams