change Model.toArray()