 
   list: =>
     @_list (pullRequests) ->
-      _.each pullRequests, (pr, i) =>
+      for pr, i in pullRequests
         console.log "#{i + 1}: [#{pr.head.repo.name} @#{pr.user.login}]\t#{pr.title}"
 
   size: =>

  ping: (index) =>
    @_list (pullRequests) =>
      if @program.all
        _.each pullRequests, (pr) =>
          @_postComment pr
      else if index?
        @_postComment pullRequests[index - 1]
      else
        _.each pullRequests, (pr, i) =>
          console.log "#{i + 1}: [#{pr.head.repo.name} @#{pr.user.login}]\t#{pr.title}"

        console.log ""

      else if index?
        open pullRequests[index - 1].html_url
      else
        for pr, i in pullRequests
          console.log "#{i + 1}: [#{pr.head.repo.name} @#{pr.user.login}]\t#{pr.title}"

        console.log ""
