Added support for new line character