adding all diagrams