Casting with gating

Casting with gating