     let speechSynthesizer = AVSpeechSynthesizer()
     
     func isGyroAvailable() {
-        // Set the initially selected character.
-        //selectButton(rowIndex: 0, buttonIndex: 0)
-        if manager.isGyroAvailable && manager.isDeviceMotionAvailable && manager.isAccelerometerAvailable {
+        if manager.isAccelerometerAvailable {
             manager.startAccelerometerUpdates()
             manager.accelerometerUpdateInterval = 0.1
             if (manager.isAccelerometerActive) {
                 Timer.scheduledTimer(timeInterval: 0.1, target: self, selector: #selector(KeyboardViewController.selectMovement), userInfo: nil, repeats: true)
-            }
-            else {
-                // did not activate gyro and motion update properly
-            }
-        }
-        else {
-            // Keyboard won't work for this device.
-        }
+            } // else did not activate gyro and motion update properly
+        }// else Keyboard won't work for this device.
     }
     
     /*

    }
    
    func updateSelectionDisplay() {
//        let text = keyboardRows[selectedRowIndex][selectedCharIndex]
        let symbol = keyboardRows[selectedRowIndex][selectedCharIndex]
        selectionDisplay.text = symbol
        selectionDisplay.backgroundColor = rowColors[selectedRowIndex]

        if(selectedRowIndex > 0) {
            selectedRowIndex -= 1
        }

        //when switching between rows, reset index to 0 only if switching between upper and lowercase
        if(selectedRowIndex != 0) {
            selectedCharIndex = 0
        }
