Added some network functions