done the routing