modified neuralnetwork