Added pair check