fcfs, priority all in one shot