ive hit a road block and im stuck with a question on my work.

**Here is the question:**

Provide an implementation of the getLoad method that adds up the individual weights of 
the items in the items list and returns the total.

The items list is: 

```
 ArrayList<Item> items; 

```

Ive done what i thought was right but for some reason its not working.

Any help on what is wrong, or if what im doing is wrong? thanks

```
@Override
public int getLoad() {
    int load = 0; //declare the variable

    for (Item i : items) { // for each item in the list of items
        load = load + i.getWeight() ; // load equals the weight of the item and adds on
    }
    return load; //returns it
}

```