print newline at end of loop