         textField.inputType = .Email
         textField.placeholder = "Email"
 
-        var validator = Validation()
-        validator.minimumLength = 1
-        let inputValidator = InputValidator(validation: validator)
+        var validation = Validation()
+        validation.minimumLength = 1
+        let inputValidator = InputValidator(validation: validation)
         textField.inputValidator = inputValidator
 
         return textField

        textField.formatter = CardExpirationDateFormatter()
        textField.placeholder = "Expiration Date (MM/YY)"

        var validator = Validation()
        let count = "MM/YY".characters.count
        validator.maximumLength = count
        validator.minimumLength = 1
        let inputValidator = IntegerInputValidator(validation: validator)
        textField.inputValidator = inputValidator

        return textField

        textField.formatter = CardNumberFormatter()
        textField.placeholder = "Card Number"

        var validation = Validation()
        let count = "1234 5678 1234 5678".characters.count
        validation.maximumLength = count
        validation.minimumLength = 1
        let inputValidator = IntegerInputValidator(validation: validation)
        textField.inputValidator = inputValidator

        return textField
