working on NN_agreement