getPairAt added