implemented digram
implemented diagramm
made some changes in diagramm
improved diagramm