gated code