added comment to explain point of next_line