adding multiple pairs