basic api for the two match calls