Question: So, I have an ArrayList that is taken from a .txt file. It displays the following details:

```
Id
Car Manufacturer
Car Type
Colour
*blank line*

```

For Example:

```
21
Vauxhall
Corsa
red

19
Vauxhall
Corsa
blue

18
Vauxhall
Corsa
White

```

I am curious as how to make the Id the "index" of an ArrayList, so that if a car was deleted or added to the Arraylist, It would automatically adjust the Id number.

Answer: 
You need to to destroy current instance of **cropit** using - 
`$('.image-editor').cropit('destroy');`
You've wrapped the entire `cropit` code inside of a `$(function() {});` block. I don't think this is what you want, as that function only fires the first time you click. You can see it failing by throwing an alert inside that function and clicking a few times; it only fires on the first click.

If you just remove the `$(function() {});` block the rest of your code should fire, which might solve the issue you have.