add newlines at end