completed new line support - 100% tested