updated tnt lib