apand newlines
merge_string to lib/string