added connection length array