added ability to access matched params hash in router