added connection flag