                 cell.departDateTextField.delegate = self
                 cell.arriveDateTextField.delegate = self
                 
-                if !isEditingTransportation  {
+                if !isEditingTransportation {
                     
                     let theTransportation = transportations[indexPath.row - 1]
                     

                return cell
            }
            

            
        case .accommodation:
            


            if allArray.count - 1 >= indexPath.row{
                
                let cell = NSBundle.mainBundle().loadNibNamed("AccommodationTableViewCell", owner: UITableViewCell.self, options: nil).first as! AccommodationTableViewCell
                cell.checkinDateTextField.delegate = self

                    let accommodation = theAccommodation
                    
                    cell.nameLabel.text = accommodation.name
                    cell.addressLabel.text = accommodation.address
                    cell.checkinDateTextField.text = accommodation.checkinDate
                    cell.checkoutDateTextField.text = accommodation.checkoutDate
