add framework for get_next_line