     _.pull(languageCodes, lang)
     lang
 
-  # add NATIVE_LANGUAGE as first and last items
-  _.chain(randomLanguages).unshift(NATIVE_LANGUAGE).push(NATIVE_LANGUAGE).value()
+  # add LOCAL_LANGUAGE as first and last items
+  _.chain(randomLanguages).unshift(LOCAL_LANGUAGE).push(LOCAL_LANGUAGE).value()
 
 getRequestString = (langFrom, langTo, text) ->
   opts =

LANGUAGES = require('./data/languages.json')
TRANSLATE_URI = 'https://translate.yandex.net/api/v1.5/tr.json/translate'
API_KEY = process.env.YANDEX_TRANSLATE_API_KEY
NATIVE_LANGUAGE = 'en'
DEFAULT_ITERATIONS = 5
SUPPRESS_TRANSLATION_PATH_LOG = process.env.HUBOT_GARBLE_TRANSLATION_PATH_LOG || false

getRandomLanguages = (count) ->
  # an array of all available language codes except NATIVE_LANGUAGE
  languageCodes = _.chain(LANGUAGES).pluck('code').pull(NATIVE_LANGUAGE).value()

  # an array of randomly sorted languages
  randomLanguages = _.times count, () ->

#   None
#
# Configuration:
#   YANDEX_TRANSLATE_API_KEY              string; a Yandex API key (required)
#   HUBOT_GARBLE_LOCAL_LANGUAGE           string; language code for chatroom language (optional; default is 'en')
#   HUBOT_GARBLE_TRANSLATION_PATH_LOG     boolean; display the translation path that text followed during garbling process (optional; default is true)
#
# Commands:
#   hubot garble <text> - garbles your text
