loop through indices
changed model