bind highlight action to rects; remove unused function calls