Do away with string comparisons.