modified index copy