Added rerouting method