set
tncount
to zero
tncount = 0;