aggregate events on trip end