changed index working