Match on the basic pairs