updated to display iterations