modified the routing