"time" variable is a countdown timer that shows the amount of time remaining.
