replcae RouteMatcher with simple Closure