classify the corners