here is the network stuff