index is modified