initial version of TCN to language conversion