add joined index