add the function for highlight.