add index to prepare for range deletion