fleshed out networking system... [broken]