         post.comments = comments
         callback null
 
-  getAllVotes = (post, callback) ->
+  getAllVotes = (post, cacheMax, callback) ->
 
     votes = []
 

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


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

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