add perceptron