more networking stuff, still working on server