added an output for network state