         for item in day_list
           items[item.type].push item
 
-      date.setDate(date.getDate() + 1)
+      start_date.setDate(start_date.getDate() + 1)
 
     string = ''
     string += "\nGood\n"


    msg.send string


regex = new RegExp /^(good|bad|park)\:(.*)$/


      type: msg.match[1]
      message: msg.match[2]

    msg.send "Noted, #{msg.message.user.name}, I'll remember that for retro. Enter \"hubot retro <start_date> [<end_date>]\" to see all retro comments between the given dates. Date format: <month>/<day>[/<year>]"

  robot.respond /retro\s+([^\s]+)\s?([^\s]+)?$/i, (msg) ->

    start_date = date_from_string(msg.match[1])
    unless start_date?
      msg.send "Please specify a start date as <month>/<day> or <month>/<day>/<year>"
      return

    end_date = new Date()
    end_date_string = msg.match[2]
    if end_date_string?
      end_date = date_from_string(end_date_string)
      unless end_date
        msg.send "Please specify the end date as <month>/<day> or <month>/<day>/<year> or leave emtpy for the current date"
        return

    msg.send "Showing retro comments from #{start_date} to #{end_date}.\n"

    items = {}
    items.good = []
    items.bad = []
    items.park = []

    while start_date < end_date
      day_list = null
      try 
        day_list = @robot.brain.data.retro[start_date.getFullYear()][start_date.getMonth()][start_date.getDate()]
      catch 
        # do nothing

