added alternate gating modes