added newlines to read output in terminal