def startupModeSelection(repeat=False):
    if (repeat == True):
        play('voiceCommands/sorryPleaseRepeat.wav')
    else:
        play('voiceCommands/modeSelectionInputPrompt.wav')
    userInput = recognizeSpeech('mode')
    if (userInput == 'help'):
        play('voiceCommands/modeSelectionHelp.wav')
        userInput = recognizeSpeech('mode')
    if (userInput in ['nearestRestroom', 'popularDestinations', 'savedDestinations', 'nearestPrinter', 'specificDestination', 'findGod', 'help']):
        return userInput
    else:
        return startupModeSelection(True)
def startupModeSelection(repeat=False):
    if (repeat == True):
        play('voiceCommands/sorryPleaseRepeat.wav')
    else:
        play('voiceCommands/modeSelectionInputPrompt.wav')
    userInput = recognizeSpeech('mode')
    if (userInput == 'help'):
        play('voiceCommands/modeSelectionHelp.wav')
        userInput = recognizeSpeech('mode')
    if (userInput in ['nearestRestroom', 'popularDestinations', 'savedDestinations', 'nearestPrinter', 'specificDestination', 'findGod', 'help']):
        return userInput
    else:
        return startupModeSelection(True)