code: private IAtomContainer readMolecule() throws Exception {
          boolean foundCompound = false;
          while (parser.next() != XMLEvent.END_DOCUMENT) {
              if (parser.getEventType() == XMLEvent.START_ELEMENT) {
                  if (parser.getLocalName().equals("PC-Compound")) {
                      foundCompound = true;
                      break;
                  }
              }
          }
          if (foundCompound) {
              return parserHelper.parseMolecule(parser, builder);
          }
          return null;
      }
docs: private procedures