please rename the event to currentEvent to keep the same approach for both for loops