new line break logic