added connection selection