index showing the array passed