     }
     
     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

        self.applySkyscannerTheme(self.nameField)
        self.applySkyscannerTheme(self.emailField)
        
        self.arrivalCityField.delegate = self
        self.departureCityField.delegate = self
        self.titleField.delegate = self
        self.nameField.delegate = self
        self.emailField.delegate = self
    }
    
    // MARK: - Styling the text fields to the Skyscanner theme

    override func viewDidLoad() {
        super.viewDidLoad()
        
        textFields = [arrivalCityField, departureCityField, titleField, nameField, emailField]

        self.setupThemeColors()
        
        self.departureCityField.becomeFirstResponder()
