added checkNetwork, disableNetwork, enableNetwork