small change to have the Array method return both the index array and th...

...e concatenated values array