import of the npl codebase