adding newlines, change buffer size