Add loop to write results