trying to debug NP