add method for injecting models into the array
2.1.0