         phaseAvg[i] = norm_rads(phaseAvg[i]);
         // Serial.print("Phase    : "); Serial.println(phase);
         // Serial.print("Phase: "); Serial.println(_phase_avg);
-        if (2 <= i && i <= 4 && abs(phaseAvg[i]) < 0.1) {
+        if (i == winningIndex && abs(phaseAvg[i]) < 0.1) {
           ret = true;
         }
     }

        }
        float magnitude = mag[i];
        magAvg[i] = magAvg[i] * 0.99 + magnitude * 0.01;
        if (magnitude > maxMag) {
            maxMag = magnitude;
            maxIndex = i;
        }


    //  digitalWrite(LED_PIN, HIGH);
    //}

    winningIndex = maxIndex;
    return ret;
}

