ensure new line at the end of each output