Pi_Gate added to examples