main gating pulse