some NN changes