handle multiple predictions and arrivals