add target notes detection.