added a router prototype