layout and routers