A-Matching