         cubeCount += 1
     }
     
-    func drawCube(#color: NSColor, skip: Int)
+    func drawCube(#color: NSColor, skip: Side)
     {
         let (w, h) = cubeSize()
         

            if cubeCount >= maxCubes
            {
                animState = "fade"
                debugPrint(animState)
                fadeCount = 0
            }
            drawNextCube()

                if      (pos.y < 2)        { pos.y = size.y-1 }
                else if (pos.y > size.y-1) { pos.y = 2 }
            }
            skip = .NONE
            lastPos = randint(5)
        }

