Added query with Iterator.