working FCFS :)