added ability to match params in path to router