Improve the gate.