Changed get_next_line