working on FCFS