code for tc_2.1.2 added