I am struggling to pass a model of data from one controller to the next. I am sure I am just missing something very simple but hoping I can get some help.

Below I create the code to select all the data from the row that was selected:

```
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
        tableView.deselectRow(at: indexPath, animated: true)

        print(indexPath.row)

        let passingData = arrivals[indexPath.row]
        print(passingData)
        let controller = storyboard?.instantiateViewController(withIdentifier: "FlightInfoVC") as! FlightInfoViewController
        controller.flightDataPassedIn = passingData
        //Code incomplete - Will add execution to show VC

    }

```

That print statement is reflected below:
[![console](https://i.stack.imgur.com/GAWLP.png)](https://i.stack.imgur.com/GAWLP.png)

Now where I am struggling is to get that data to go to my next view controller. Setting the array of data in my new VC doesn't seem to work because it is expecting a type of 'FlightModel' but I cannot seem to figure out how to declare that. I have tried this but I `cannot convert type [Any] to 'FlightModel'`

`var flightDataPassedIn: FlightModel = []`

Appreciate any help you can give!