added neuron code