rewritten router