Small changes in the code of the enumeration in class Item