add NBNN to general structures