how does sex match work