Nvm, the conditional is on the second line because if there is an override, we no longer care about the detector.