generate data for order determination