 
   submit_handler: (e, form) ->
     e.preventDefault()
-    values = @get_values(form)
+    form_data = @get_values(form)
     single_defer = $.Deferred()
     group_defer = $.Deferred()
-    @single_encryption(form, values, (result) ->
+    @single_encryption(form, form_data, (result) ->
       single_defer.resolve()
     )
     $.when(single_defer).done(() =>
-      @group_encryption(form, values, (result) ->
+      @group_encryption(form, form_data, (result) ->
         group_defer.resolve()
       )
     )
     $.when(single_defer, group_defer).done(() =>
-      @reinsert_values values
+      @reinsert_values form_data
       form.submit()
     )
 
   get_values: (form) ->
     return $(form).serializeArray()
 
-  single_encryption: (form, values, callback) ->
+  single_encryption: (form, form_data, callback) ->
     names_to_encrypt = @find_names_for(form, "*[data-encrypt]")
     defers = []
-    @encrypt_requested_fields(values, names_to_encrypt, defers)
+    @encrypt_requested_fields(form_data, names_to_encrypt, defers)
     $.when.apply($, defers).done(() -> # Spat defers to param list with apply
-      callback(values)
+      callback(form_data)
     )
 
   find_names_for: (root, selector) ->

      names.push n
    return names

  encrypt_requested_fields: (values, names_to_encrypt, defers) ->
    for element in values
      if @contains(element.name, names_to_encrypt)
        d = $.Deferred()
        defers.push d

  constructor: (armored_key) ->
    @load_key(armored_key)

  setup: ->
      $("form[data-encrypted-form]").each (index, element) =>
        $(element).submit((e)=>
          @submit_handler(e, element)
