Implemented corner labeling