model data is iterated on index page