change approach for processing serial event data