added highlighting feature and improve strategy.