Added FCFS functionality.