       .get() (err, res, body) ->
         err = body unless res.statusCode == 200
         builds = JSON.parse(body).build unless err
+        builds.splice(amount)
         callback err, msg, builds
 
   mapNameToIdForBuildType = (msg, project, name, callback) ->

            msg.send "Could not find builds for #{option}"
            return
          createAndPublishBuildMap(builds, msg)

        msg.send "No builds are currently running"
        return

      createAndPublishBuildMap(builds['build'], msg)

  robot.respond /tc build start (.*)/i, (msg) ->
    configuration = buildName = msg.match[1]
