Updated Queue, now it handles the time wo arrival