mostly working network parsing