minor changes to NCP example