check for new line