debuging for TC / TD