Added newlines where necessary