each() uses array[index] notation not instead of array.index