nnet working