Custom-gate-design