more work on detectors