for nncontroller debug