Detector design