add the timeleft field
Fixed syntax error