get_pair implemented.