add get_next_line