FCFS testing, updated remaining time, it could've been causing an inf loop