modified index to relfect moving data