added newlines to printing so easier to read