In the second example shown in Fig. , the HTA algorithm detects a vinyl group and an amide group. On the basis of the functional group selections that define each class, the HTA algorithm cannot match the monomer with a single polymer class. Therefore, the algorithm has to prioritize the functional groups for polymer class assignment. In this case, the vinyl group is selected. The first reason is that the vinyl group has a higher nucleophilicity index.