concatenation is faster with contents.push(format...) then contents.join() than doing +=