how would i recycle this

[lua]
local secondsLeft = 20 * 60

local clockText = display.newText(“20:00”, 160,30)

local function updateTime()

secondsLeft = secondsLeft - 10

local minutes = math.floor( secondsLeft / 60)

local seconds = secondsLeft % 60

local timeDisplay = string.format("%02d:%02d", minutes, seconds)

clockText.text = timeDisplay

if timeDisplay == “19:00” then

clockText:removeSelf()

composer.gotoScene(“menu”)

end

end

local countDownTimer = timer.performWithDelay(1000, updateTime, secondsLeft)

[/lua]

What do you mean by recycle? Like loop it?

yes loop it 

how do i loop this 

The part where it says seconds left you put -1 or 0 and the timer will loop forever

What do you mean by recycle? Like loop it?

yes loop it 

how do i loop this 

The part where it says seconds left you put -1 or 0 and the timer will loop forever