Added new pairings function