use asynchronous callback for highlighting