able to display models with a loop