made an aesthetic change (which is slow) to show program progress as output.