debugging hasNetwork in progress