changed index, saved everything in case