   [{:keys [dimx dimy food-freq block-freq poison-freq] :as config}]
   (let [arena (empty-arena dimx dimy)]
     ((apply comp
+            (partial blocks block-freq config)
             (partial border config)
             (map (fn [item-func item-frequency]
                    (partial item-func item-frequency config))
-                 [poison food blocks]
+                 [poison food]
                  [poison-freq food-freq block-freq])) arena)))

(ns battlebots.arena.generation
  (:require [battlebots.constants.arena :refer [arena-key]]
            [battlebots.arena.utils :refer [get-arena-dimensions update-cell]]))

(defn- get-number-of-items
  "reutrns the number of items based off of a given frequency and the total number

  make sure there are no inaccessible areas"
  [frequency config arena]
  (let [amount (get-number-of-items frequency arena)]
    (place-walls amount arena)))

(defn- food
  "sprinkle food around the arena and return a new arena"
