re-indexed from shuffled data; index and out