cleaned diagramm