added checkNetwork, enableNetwork, disableNetwork