             posts = results.posts
             callback null
       (callback) ->
+        gac = (post, callback) ->
+          getAllComments post, cacheMax, callback
+        gav = (post, callback) ->
+          getAllVotes post, cacheMax, callback
         async.parallel [
           (callback) ->
-            async.each posts, getAllComments, (err, posts) ->
+            async.each posts, gac, (err, posts) ->
               if err
                 callback err
               else
                 callback null
           (callback) ->
-            async.each posts, getAllVotes, (err) ->
+            async.each posts, gav, (err) ->
               if err
                 callback err
               else


      url = "https://api.producthunt.com/v1/posts/#{post.id}/votes?" + qs.stringify(params)

      cacheGet url, token, headers, (err, body) ->
        if err
          callback err
        else

        post.comments = comments
        callback null

  getAllVotes = (post, cacheMax, callback) ->

    votes = []

