Pocket perceptron done