make iteration number visible to main form