added ncp. added new  functionality