expose define and match on the router