adding rerouting.