added main method under Matcher