btw, while auto targeting should be sufficient to do oracle_target = targets[selected]. And then, after auto detection, proceed as if the user has selected the target because you're retyping the code lot of times which makes readability hard.