comments taken out of pairs.js