The variable iteration_number should called e.g. current_iteration