made some insignificant changes to ncp