adding nncon support