added connection status.