port more incorporate_line()