no more Detector class, but only a set of functions