extern remainingTime