adding an onHighlight callback