changed signature to getFactorHeadersByValue