OK, network stuff mostly done