a bit of refactoring
tsss integrated to ntt