process all events