needed another reference to keep original array in