Added rerouting procedure