working perceptron!