var next = function(i) {
              if (i >= records.length) {
                return runQuery(null, records)
              }