toward a routing for the gates