cleaned up highlightTargets()