adding table index