   }
   
 
-  func spawntrashCan(){
+  func spawnTrashcan(){
     
     var randX: Float = Float(arc4random_uniform(500) + 100)
     //var anotherFloat: Float = Float(randX)
     
     
     //kori/brian
+//    let trashCan = SKSpriteNode(imageNamed: "trashCan.gif")
     let trashCan = SKSpriteNode(imageNamed: "trashCan.gif")
 
     trashCan.position = CGPointMake(CGRectGetMaxX(self.frame) + CGFloat(randX), 75)

    let obstacleCategory = 0x1 << 3
  
  
  override func didMoveToView(view: SKView) {
    
    


        //spawns a trashcan every 2 seconds -kori/brian
        let spawnBench  = SKAction.runBlock({() in self.spawnBench()})
        let spawnTrashcan = SKAction.runBlock({() in self.spawnTrashcan()})
        let craneHook = SKAction.runBlock({() in self.spawnCrane()})
        let delay = SKAction.waitForDuration(NSTimeInterval(2.0))
        let spawnThenDelay = SKAction.sequence([spawnBench,delay,delay,spawnTrashcan,delay, delay, craneHook, spawnTrashcan])
        let spawnThenDelayForever = SKAction.repeatActionForever(spawnThenDelay)
        self.runAction(spawnThenDelayForever)

