Updated network connection method, minor nitpicking