public PSTLabel findLabel(Point2D p){
        for (int i = labels.size() - 1; i >= 0; i--){
            PSTLabel label = (PSTLabel) labels.get(i);
            if (label.contains(p)) return label;
        }
        return null;
    }