debugging TR, NP