debugged tttensor