private void advance() {
      if (pos < 0) {
        pos++;
      }
      else {
        pos += 2;
      }
      if (pos >= 0) {
        while (pos < data.length && data[pos] == null) {
          pos++;
        }
      }
    }
private void advance()