         if node.active {
             updateShownNote()
         } else {
-            noteLabel.text = ""
+            noteLabelNode.text = ""
         }
 
         triggerUpdate()


    let motionManager = CMMotionManager()

    var noteLabel = UILabel(frame: CGRect(x: 230, y: 200, width: 140.00, height: 140.00))

    var screenWidth: CGFloat = 0,
        screenHeight: CGFloat = 0

    var upAnOctave = false

    var oneButton, twoButton, threeButton, flatButton, sharpButton: ButtonNode!

    override func didMoveToView(view: SKView) {

    func updateShownNote() {
        if let noteCode = getCurrentNoteCode() {
            let noteString = getNoteString(noteCode)
            noteLabelNode.text = noteString
        } else {
            noteLabelNode.text = ""
        }
    }

    func addNoteLabelNode() {
        noteLabelNode = SKLabelNode(fontNamed: "Avenir-Light")
        noteLabelNode.fontSize = 95
        noteLabelNode.horizontalAlignmentMode = .Center
        noteLabelNode.verticalAlignmentMode = .Top
        noteLabelNode.position = CGPoint(x: (1/2)*screenWidth, y: (1/3)*screenHeight)
        noteLabelNode.text = ""
        noteLabelNode.color = SKColor.whiteColor()

        addChild(noteLabelNode)
    }

    func getCurrentNoteCode() -> Int? {
