Developing the neural network