Pairing function: Change devised to came up with.