tryed something with classe diagramm
adapted networkScanner to use integer -1 instead of 42