TNNLS Code almost ready