Added code for exponential highlighting.