don't modify original array, duh!