For each correct peak, the key information about the scan, such as monoisotopic mass, charge, and isotope distribution are stored in a data structure. After performing the first cycle of charge state assignments, the matched peaks are removed from the spectrum, and the process is repeated. After 5-10 rounds of assignments and removals, the algorithm moves on to the next scan. After completing all scans in the data, the matched clusters can be output in a variety of formats, such as MsAlign. Note, unlike other machine learning algorithms for feature identification, IsoDec does not require the LC dimension. Currently, each scan is processed independently.