MatchEngine first draft