added npp utils