Fixing a potential bug: we now store the event number in the ArrayList together with...