added array of models in controller