working on a bunch of networking stuff