   make sure there are no inaccessible areas"
   [frequency config arena]
   (let [amount (get-number-of-items frequency arena)]
-    (place-walls amount arena config)))
+    (place-walls amount arena)))
 
 (defn- food
   "sprinkle food around the arena and return a new 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

  [{: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]
                 [poison-freq food-freq block-freq])) arena)))
