add perceptron core