Use a loop to upload all results