uncommented debug code, commented drawMatches, starting on nontrivial cases