added newlines at end of line