Modify index of array example.