smart gating