         
         //audio
         audioEngine = AVAudioEngine()
+        audioPlayer = AVAudioPlayer()
         //setup node
         audioPlayerNode = AVAudioPlayerNode()
         audioEngine.attach(audioPlayerNode)

    
    @IBAction func buttonPress(_ sender: UIButton) {
        //2. Play the current subphrase with the tone of the pressed button.
        
        var sendingButton: UIButton?
        

            if newScore < 0 {
                newScore = 0
            }
            if !(newScore == 0 && currentScore == 0) {
                setCurrentScore(newScore: newScore)
                refreshScore()
            }
        }
    }
    
