added connection id counter