Place output outside of loop, make more informative