included the header for the PID aggregation function