added line_term.pl