Added polarization string matching