Ability to extract pairs from a grid