pair matching version added