Working version. Doesn't work loading from file of modelsArray.