TNNLS Code refined
...