Puting Gates in the right places