add BallCaller and PatternMatcher