move newlines into strings