add index, stage 5