transformation of TN