adding NN stuff (scott)