rearranged layout of index