Connected view controller to model