index restructure