chomp(@EVENT_ARRAY); # outside the loop