Added some stuff for networking