prepending and appending random newlines