added all NN functions