appending new line to data