changed jarvis to perceptron