tdestroy() was been uncommented