completed unweighted neural network