renamed linkedList to eventList