Deleted some messy networking code