def popularLocationsInput(data, repeat=False):
    print('popLocsInput')
    if (repeat == True):
        play('voiceCommands/sorryPleaseRepeat.wav')
    else:
        play('voiceCommands/destinationInputPromptWithHelp.wav')
    userInput = recognizeSpeech('popularDest')
    if (userInput == 'help'):
        play('voiceCommands/popularLocationSelectionHelp.wav')
        userInput = recognizeSpeech('popularDest')
    if (userInput in ['5Prima', '4Sorrells']):
        return userInput
    else:
        return popularLocationsInput(data, True)
def popularLocationsInput(data, repeat=False):
    print('popLocsInput')
    if (repeat == True):
        play('voiceCommands/sorryPleaseRepeat.wav')
    else:
        play('voiceCommands/destinationInputPromptWithHelp.wav')
    userInput = recognizeSpeech('popularDest')
    if (userInput == 'help'):
        play('voiceCommands/popularLocationSelectionHelp.wav')
        userInput = recognizeSpeech('popularDest')
    if (userInput in ['5Prima', '4Sorrells']):
        return userInput
    else:
        return popularLocationsInput(data, True)