public double getProgress() {

      if (completed) return 1;

      if (pn == null) return 0;

      return pn.getGlobalProgress();
    }