reinitialize iterator every time