added support for linebreaks