updated design of index2