TNNLS Code Refined