     private var orbPlayer_White: AVAudioPlayer?
     
     // Orbs
+    private var orbArray: NSMutableArray?
     private var cyanOrb: SKShapeNode?
     private var redOrb: SKShapeNode?
     private var blackOrb: SKShapeNode?

    private func setupOrbs() {
        cyanOrb = self.createOrbWithColorValues(r: 0, g: 255, b: 255)
        if let cyanOrb = cyanOrb {
            cyanOrb.position = CGPointMake(MIDSCREEN.x - 0, MIDSCREEN.y - 0)
            cyanOrb.name = "CyanOrb"
            print("Cyan Orb frame: \(cyanOrb.frame)")
            world.addChild(cyanOrb)
        }
        
        redOrb = self.createOrbWithColorValues(r: 255, g: 0, b: 0)
        if let redOrb = redOrb {
            redOrb.position = CGPointMake(150, 200)
            print("Red Orb frame: \(redOrb.frame)")
            redOrb.name = "RedOrb"
            world.addChild(redOrb)
        }
        
        blackOrb = self.createOrbWithColorValues(r: 0, g: 0 , b: 0)
        if let blackOrb = blackOrb {
            blackOrb.position = CGPointMake(200, 200)
            blackOrb.name = "BlackOrb"
            world.addChild(blackOrb)
        }
        
        yellowOrb = self.createOrbWithColorValues(r: 255, g: 255, b: 0)
        if let yellowOrb = yellowOrb {
            yellowOrb.position = CGPointMake(250, 200)
            yellowOrb.name = "YellowOrb"
            world.addChild(yellowOrb)
        }
        
        greenOrb = self.createOrbWithColorValues(r: 0, g: 255, b: 0)
        if let greenOrb = greenOrb {
            greenOrb.position = CGPointMake(300, 200)
            greenOrb.name = "GreenOrb"
            //        greenOrb.runAction(SKAction.scaleBy(5, duration: 2.0))
            world.addChild(greenOrb)
        }
        
        blueOrb = self.createOrbWithColorValues(r: 0, g: 0, b: 255)
        if let blueOrb = blueOrb {
            blueOrb.position = CGPointMake(350, 200)
            blueOrb.name = "BlueOrb"
            world.addChild(blueOrb)
        }
        
        purpleOrb = self.createOrbWithColorValues(r: 255, g: 0, b: 255)
        if let purpleOrb = purpleOrb {
            purpleOrb.position = CGPointMake(400, 200)
            purpleOrb.name = "PurpleOrb"
            world.addChild(purpleOrb)
        }
        
        whiteOrb = self.createOrbWithColorValues(r: 255, g: 255, b: 255)
        if let whiteOrb = whiteOrb {
            whiteOrb.position = CGPointMake(450, 200)
            whiteOrb.name = "WhiteOrb"
            world.addChild(whiteOrb)
        }
    }

    }
   
    private func playOrbInRandomOrder() {
        orbArray = NSMutableArray()
        guard let orbArray = orbArray else { return }
        for element in 1...8 {
            orbArray.addObject(element)
        }
        let count = orbArray.count - 1
        for element in 0...count {
            let remainingCount:Int = count - element
            let exchangeIndex: Int = element + Int(arc4random_uniform(UInt32(remainingCount)))
            orbArray.exchangeObjectAtIndex(count, withObjectAtIndex: exchangeIndex)
        }
        var delay: Double = 0
        var counter: CGFloat = 0
        for element in orbArray {
            var sequence = SKAction.sequence([SKAction.waitForDuration(delay), SKAction.scaleTo(5, duration: 1.0)])
            switch element.intValue {
            case 1:
                if let cyanOrb = cyanOrb {
                    cyanOrb.zPosition = counter
                    cyanOrb.runAction(sequence)
                    self.playSound("SXF_Orb_1", color: "Cyan")
                }
                break
            case 2:
                if let redOrb = redOrb {
                    redOrb.zPosition = counter
                    redOrb.runAction(sequence)
                    self.playSound("SXF_Orb_2", color: "Red")
                }
                break
            case 3:
                if let blackOrb = blackOrb {
                    blackOrb.zPosition = counter
                    blackOrb.runAction(sequence)
                    self.playSound("SXF_Orb_3", color: "Black")
                }
                break
            case 4:
                if let yellowOrb = yellowOrb {
                    yellowOrb.zPosition = counter
                    yellowOrb.runAction(sequence)
                    self.playSound("SXF_Orb_4", color: "Yellow")
                }
                break
            case 5:
                if let greenOrb = greenOrb {
                    greenOrb.zPosition = counter
                    greenOrb.runAction(sequence)
                    self.playSound("SXF_Orb_5", color: "Green")
                }
                break
            case 6:
                if let blueOrb = blueOrb {
                    blueOrb.zPosition = counter
                    blueOrb.runAction(sequence)
                    self.playSound("SXF_Orb_6", color: "Blue")
                }
                break
            case 7:
                if let purpleOrb = purpleOrb {
                    purpleOrb.zPosition = counter
                    purpleOrb.runAction(sequence)
                    self.playSound("SXF_Orb_7", color: "Purple")
                }
                break
            case 8:
                if let whiteOrb = whiteOrb {
                    whiteOrb.zPosition = counter
                    whiteOrb.runAction(sequence)
                    self.playSound("SXF_Orb_1", color: "White")
                }
                break
            default:
                break
            }
            delay += 1
            counter += 1
        }
    }
    
