Fixed NP source program now is working properly