index replaced