one iteration for generator and println