try a simple matching first
has bug.
finished testing for matching
finished matching and comatching, now deal with evaluation.