     let heroCategory = 0x1 << 1
     let groundCategory = 0x1 << 2
   
-  override func didMoveToView(view: SKView) {
-    
-    //kori/brian
-    let trashCan = SKSpriteNode(imageNamed: "trashCan.gif")
-    let craneHook = SKSpriteNode(imageNamed: "crane.gif")
-    var bradJumpTexture = SKTexture(imageNamed: "")
-    var bradDuckTexture = SKTexture(imageNamed: "")
-
-    //spawns a trashcan every 2 seconds -kori/brian
-    let spawn  = SKAction.runBlock({() in self.spawnObstacles()})
-    let delay = SKAction.waitForDuration(NSTimeInterval(1.5))
-    let spawnThenDelay = SKAction.sequence([spawn, delay])
-    let spawnThenDelayForever = SKAction.repeatActionForever(spawnThenDelay)
-    self.runAction(spawnThenDelayForever)
-
-        // Swipe Recognizer Setup
-        var swipeRecognizer = UISwipeGestureRecognizer(target: self, action: "swipeAction:")
-        swipeRecognizer.direction = UISwipeGestureRecognizerDirection.Up
-        self.view?.addGestureRecognizer(swipeRecognizer)
-        
+    override func didMoveToView(view: SKView) {
+    
+        // Texture Variables
+        let trashCan = SKSpriteNode(imageNamed: "trashCan.gif")
+        let craneHook = SKSpriteNode(imageNamed: "crane.gif")
+        var bradJumpTexture = SKTexture(imageNamed: "")
+        var bradDuckTexture = SKTexture(imageNamed: "")
+
         // Swipe Recognizer Setup [Tuan/Vincent]
         var swipeUpRecognizer = UISwipeGestureRecognizer(target: self, action: "swipeUpAction:")
         swipeUpRecognizer.direction = UISwipeGestureRecognizerDirection.Up

        var bradTexture = SKTexture(imageNamed: "hero.jpg") // Change 90x90 image
        bradTexture.filteringMode = SKTextureFilteringMode.Nearest
        
        //Tina/ brad jumping texture
        bradJumpTexture.filteringMode = SKTextureFilteringMode.Nearest
        
        //Tina/ brad ducking texture
        bradDuckTexture.filteringMode = SKTextureFilteringMode.Nearest
        

        hero = SKSpriteNode(texture: bradTexture)
        hero.setScale(0.5)
        hero.position = CGPoint(x: self.frame.size.width * 0.35, y: self.frame.size.height * 0.5) // Change y to ground level

        
        self.addChild(ground)
        
        // Spawns a Trash Can Every 2 Seconds [Brian/Kori]
        let spawn  = SKAction.runBlock({() in self.spawnObstacles()})
        let delay = SKAction.waitForDuration(NSTimeInterval(1.5))
        let spawnThenDelay = SKAction.sequence([spawn, delay])
        let spawnThenDelayForever = SKAction.repeatActionForever(spawnThenDelay)
        self.runAction(spawnThenDelayForever)
    }
    
    override func touchesBegan(touches: NSSet, withEvent event: UIEvent) {
    }
  
    func swipeAction(swipe: UISwipeGestureRecognizer) {
        self.jumpMode = true
