printing iterations