Implemented DynamicTemplateMatcher