using at least twophase detectors in the loop