started highlighting logic