added some network stuff