making the router simpler