router and client