getting selected tab works
merged?