handles new lines between numbers