Definition of "detects"