Forgot a line in the queue function