use iterator to fetch models