modified Detector