removed extra array from sum_events method