substitue the old index