       'j': mem0r1es.benchmark.stringGenerator 10
       'k': mem0r1es.benchmark.stringGenerator 2000
       'l': mem0r1es.benchmark.stringGenerator 2000
-    mem0r1es.benchmark.storageManager.store "temporary", data, () ->
+    mem0r1es.benchmark.storageManager.store "temporary", data, (result) ->
       mem0r1es.benchmark.currentCardinality++
   return  
 

    runs () ->
      query = new mem0r1es.Query().from("temporary").where("b", "equals", 5).and("c", "greaterThan", 3)
      mem0r1es.benchmark.storageManager.get query, (results) =>
        console.log "Time to run 'fetch by two indexes' : #{new Date().getTime() - start} ms. retreived #{results.length} results"
        console.log results
        return
      return

    runs () ->
      query = new mem0r1es.Query().from("temporary").where("b", "equals", 5).and("c", "greaterThan", 3).and("d", "lowerThan", 8)
      mem0r1es.benchmark.storageManager.get query, (results) =>
        console.log "Time to run 'fetch by index and 2 conditions' : #{new Date().getTime() - start} ms. retreived #{results.length} results"
        console.log results
        return
      return
    return
    
  it 'fetch by PK', ->
    start = new Date().getTime()
    runs () ->
      query = new mem0r1es.Query().from("temporary").where("a", "greaterThan", 0)
      mem0r1es.benchmark.storageManager.get query, (results) =>
        console.log "Time to run 'fetch by primary key' : #{new Date().getTime() - start} ms. retreived #{results.length} results"
        console.log results
        return
      return
