network stuff; implemented broadcast;