Fixed array and call to the function, fixed loop to pass object index