refactor the code
set enableHighlight at the beginning
delete a blank line