     }
     
     func hideTitleVisibleFromFields() {
-        self.departureCityField.setTitleVisible(false, animated: true)
-        self.arrivalCityField.setTitleVisible(false, animated: true)
-        self.titleField.setTitleVisible(false, animated: true)
-        self.nameField.setTitleVisible(false, animated: true)
-        self.emailField.setTitleVisible(false, animated: true)
-        
-        self.departureCityField.highlighted = false
-        self.arrivalCityField.highlighted = false
-        self.titleField.highlighted = false
-        self.nameField.highlighted = false
-        self.emailField.highlighted = false
+        
+        for textField in textFields {
+            textField.setTitleVisible(false, animated: true)
+            textField.highlighted = false
+        }
     }
     
     // MARK: - Delegate

    override func viewDidLoad() {
        super.viewDidLoad()
        
        self.setupThemeColors()
        
        self.departureCityField.becomeFirstResponder()

    
    @IBAction func submitButtonDown(sender: AnyObject) {
        self.isSubmitButtonPressed = true
        
        for textField in textFields {
            if !textField.hasText() {
                self.showingTitleInProgress = true
                textField.setTitleVisible(true, animated: true, animationCompletion: self.showingTitleInAnimationComplete)
                textField.highlighted = true
            }
        }
    }
    
