tab1 and tab2 connection